﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Idea.DbContext.Interface;
using Idea.UnitOfWork.Interface;
using Idea.Unity.Interface;
using Microsoft.Practices.Unity;

namespace Idea.DbContext.Unity.CompositionRoot
{
    class UnityConfiguration : IUnityConfiguration
    {
        public void Configurate(IUnityContainer container)
        {
            container
                .RegisterType<IDbContextFactory, DbContextFactory>();
        }
    }
}
